<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition>

        <p:dialog id="EnrollViewDlg" widgetVar="EnrollViewDialog" modal="true" resizable="false" appendTo="@(body)" header="#{bundle.ViewEnrollTitle}">
            <h:form id="EnrollViewForm">
                <h:panelGroup id="display">
                    <p:panelGrid columns="2" rendered="#{enrollController.selected != null}">
                        <h:outputText value="#{bundle.ViewEnrollLabel_id}"/>
                        <h:outputText value="#{enrollController.selected.id}" title="#{bundle.ViewEnrollTitle_id}"/>
                        <h:outputText value="#{bundle.ViewEnrollLabel_status}"/>
                        <h:outputText value="#{enrollController.selected.status}" title="#{bundle.ViewEnrollTitle_status}"/>
                        <h:outputText value="#{bundle.ViewEnrollLabel_reason}"/>
                        <h:outputText value="#{enrollController.selected.reason}" title="#{bundle.ViewEnrollTitle_reason}"/>
                        <h:outputText value="#{bundle.ViewEnrollLabel_introduction}"/>
                        <h:outputText value="#{enrollController.selected.introduction}" title="#{bundle.ViewEnrollTitle_introduction}"/>
                        <h:outputText value="#{bundle.ViewEnrollLabel_createdDate}"/>
                        <h:outputText value="#{enrollController.selected.createdDate}" title="#{bundle.ViewEnrollTitle_createdDate}">
                            <f:convertDateTime pattern="MM/dd/yyyy HH:mm:ss" />
                        </h:outputText>
                        <h:outputText value="#{bundle.ViewEnrollLabel_paymentOption}"/>
                        <h:outputText value="#{enrollController.selected.paymentOption}" title="#{bundle.ViewEnrollTitle_paymentOption}"/>
                        <h:outputText value="#{bundle.ViewEnrollLabel_presentationFile}"/>
                        <h:outputText value="#{enrollController.selected.presentationFile}" title="#{bundle.ViewEnrollTitle_presentationFile}"/>
                        <h:outputText value="#{bundle.ViewEnrollLabel_accountId}"/>
                        <h:outputText value="#{enrollController.selected.accountId}" title="#{bundle.ViewEnrollTitle_accountId}"/>
                        <h:outputText value="#{bundle.ViewEnrollLabel_eventId}"/>
                        <h:outputText value="#{enrollController.selected.eventId}" title="#{bundle.ViewEnrollTitle_eventId}"/>
                    </p:panelGrid>
                    <p:commandButton value="#{bundle.Close}" onclick="EnrollViewDialog.hide()"/>
                </h:panelGroup>
            </h:form>
        </p:dialog>

    </ui:composition>
</html>
